

OUT=server.out
CC=gcc
OBJS=${patsubst %.c,%.o,${wildcard *.c} ../common/mynet.c ../common/userinfo.c}

all:${OBJS}
	gcc -o ${OUT} $^

%.o:%.c
	gcc -c -o $@ $^

clean:
	${RM} -f ${OBJS} ${OUT}

